package com.example.service.course;

import com.example.enums.Status;
import com.example.pojo.Course;
import com.example.pojo.CourseRecord;
import com.example.pojo.ElementSelect;

import java.util.List;

public interface CourseService {
    List<Course> getTable(Course course);
    Status UpdateStatus(Integer id, Integer status);
    Course getCourseById(int courseId);
    boolean deleteCourse(int id);
    List<CourseRecord> getRecordByCourseId(int CourseId);
    List<ElementSelect> getUser(String name);
    boolean updateCourse(Course course);
    boolean addCourse(Course course);
}
